package van.planifolia.demo02;

/**
 * Created by Intellij IDEA<br>
 *
 * @author Planifolia.Van
 * @version 1.0
 * @date 2022/10/27 17:41
 */
public class ReflexCreateObject {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException {

        Class<Food> foodClass = Food.class;
        Food food = foodClass.newInstance();
        Food food1 = foodClass.newInstance();

        System.out.println(food == food1);
    }
}
class Food{

}
